<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script>
    var ids = [];
    ids.push('1');
    console.log(ids);

    $.post('http://learn.com/recite/addBatch/0c3e1d744a3cb5f7c44b5d02082e2575.html', {
        reciteIds: ids,
        type: 1
    }, function (data) {
        console.log(data)
    })
</script>

<form action="http://learn.com/tie/upload/0c3e1d744a3cb5f7c44b5d02082e2575.html" enctype="multipart/form-data" method="post">
    <!--<input type="file" name="file[]" multiple /> <br>-->
    <input type="file" name="file" /> <br>
    <input type="text" name="type" value="1" />
    <input type="submit" value="上传" />
</form>
